{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<script language="javascript" type="text/javascript" src="{lib file=jquery.plugins/jquery.validate.js}"></script>
<script type="text/javascript">
$(function(){
     $('#sling_form').validate({
        onkeyup : false,
		onfocusout : false,
        rules : {
        	sling_position: {
				required: true
			}
		},
		messages : {
			sling_position: {
				required: '{$lang.sling_position_not_empty}'
			}
		}
	 });
});
</script>
<style>
label.error {margin-left:2em; color:#FF0000;}
.tab-frame{width:700px;}
</style>
<body>
<div class="sub-body">
<div class="tab-frame">
<div class="tab-title-1">
<!--{if $smarty.get.act eq 'add'}--><span>{$lang.add_sling}</span><!--{else}--><span>{$lang.edit_sling}</span><!--{/if}-->
</div>
<form action="" method="post" id="sling_form">
<table width="100%" cellspacing="0" cellpadding="0" class="tab-display">
	<tr>
		<th width="100" align="right">{$lang.sling_position}：</th>
		<td align="left"><input type="text" name="sling_position" id="sling_position" value="{$sling.sling_position|escape}" class="input-2" /></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><input type="submit" value="{$lang.submit}" class="btn-2" /></td>
	</tr>
</table>
</form>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div>
</div>
</body>
</html>